package servlets;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import bean.MemberAdm;

@SuppressWarnings("serial")
public class BackDelMemServlet extends HttpServlet{
	protected void doPost(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {
		long id = Long.parseLong(req.getParameter("memCheck"));
		MemberAdm ma = new MemberAdm();
		ma.backDelMem(id);
				
		resp.sendRedirect("/memManage");
	}
}
